﻿using KWT.DRG_DIP.Common;
using KWT.DRG_DIP.DO.System;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using System.Threading.Tasks;

namespace KWT.DRG_DIP.PO.Basic
{
    /// <summary>
    /// DRG分组标杆
    /// </summary>
    public class Sys_DRG_Para:Audit
    {
        [Key]
        public string ParaID { get; set; }
        /// <summary>
        /// DRG代码
        /// </summary>
        [DisplayName("DRG编码")]
        public string DRG_Code { get; set; }
        /// <summary>
        /// DRG名称
        /// </summary>
        [DisplayName("DRG名称")]
        public string DRG_Name { get; set; }
        /// <summary>
        /// DRG名称的拼音首字母
        /// </summary>
        public string PinYin
        {
            get { return _Tool.ToPinYin(DRG_Name); }
            protected set { }
        }
        /// <summary>
        /// 权重
        /// </summary>
        [Precision(6)]
        [DisplayName("权重")]
        public decimal QZ { get; set; }
        /// <summary>
        /// 职工费率
        /// </summary>
        [Precision(6)]
        [DisplayName("职工费率")]
        public decimal ZGDZ { get; set; }
        /// <summary>
        /// 居民费率
        /// </summary>
        [Precision(6)]
        [DisplayName("居民费率")]
        public decimal JMDZ { get; set; }
        /// <summary>
        /// 职工付费标准
        /// </summary>
        [DisplayName("职工付费标准")]
        public decimal ZGFFBZ { get; set; }
        /// <summary>
        /// 居民付费标准
        /// </summary>
        [DisplayName("居民付费标准")]
        public decimal JMFFBZ { get; set; }
        /// <summary>
        /// 例均费用
        /// </summary>
        [DisplayName("例均费用")]
        public decimal LJFY { get; set; }
        /// <summary>
        /// 住院天数标杆值(天)
        /// </summary>
        [DisplayName("住院天数标杆值(天)")]
        public decimal ZYTSBGZ { get; set; }
        /// <summary>
        /// 高倍率
        /// </summary>
        [Precision(1)]
        [DisplayName("高倍率")]
        public decimal HighMag { get; set; }
        /// <summary>
        /// 低倍率
        /// </summary>
        [Precision(1)]
        [DisplayName("低倍率")]
        public decimal LowMag { get; set; }
        /// <summary>
        /// 是否特病单议病组
        /// </summary>
        [DisplayName("是否特病单议病组")]
        public bool IsSpecial { get; set; }
        /// <summary>
        /// 特殊标签
        /// </summary>
        [DisplayName("特殊标签")]
        public string SpecialFlag { get; set; }
    }
}
